﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterALSafa.Master" AutoEventWireup="true" CodeBehind="Behaviour_Evaluation_types.aspx.cs" Inherits="School.Pages.Evaluation.Behaviour_Evaluation_types" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <table style="width: 100%">
       
        <tr>
           
            <td style="width: 259px; height: 32px;">
                </td>
            <td style="width: 152px; height: 32px;">
                نوع التقيم</td>
            <td style="width: 126px; height: 32px;" align="left">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
            <td style="height: 32px">
                </td>
            <td style="height: 32px">
                </td>
        </tr>
        <tr>
            <td style="width: 259px">
                &nbsp;</td>
            <td style="width: 152px">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="حفظ" />
            </td>
            <td style="width: 126px">
                <asp:Label ID="Label1" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 259px">
                &nbsp;</td>
            <td colspan="2" align="center">
                       
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" 
                    ViewStateMode="Disabled" EnableViewState="false"  
                    OnRowEditing="gridview1_RowEditing" OnRowUpdating="GridView1_RowUpdating" 
                    OnRowCancelingEdit="gridview1_RowCancelingEdit" 
                    OnRowDeleting="gridview_RowDeleting" Width="500px">
                <Columns>
                                <asp:TemplateField HeaderText="نوع التقيم">
                                    <ItemTemplate>
                                        <asp:Label ID="l_name" runat="server" Text='<%# Bind("Name") %>' />
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="t_name" runat="server" Text='<%# Bind("Name") %>' />
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField Visible="false" >
                                    <ItemTemplate>
                                        <asp:Label ID="l_id" runat="server" Text='<%# Bind("Id") %>' />
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                    <asp:TextBox ID="t_id" runat="server" Text='<%# Bind("Id") %>' />
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:CommandField CausesValidation="false" HeaderText="تعديل" 
                                    ShowEditButton="true" EditText="تعديل" />
                                <asp:CommandField CausesValidation="false" HeaderText="حذف" 
                                    ShowDeleteButton="true" DeleteText="حذف" />
                            </Columns>
                </asp:GridView>
                       
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 259px">
                &nbsp;</td>
            <td style="width: 152px">
                &nbsp;</td>
            <td style="width: 126px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
